const mime = require('mime');

console.log(mime.getType('2700efc56a7fb2f405231d83b20ae81b.jpg'))
